package com.gxgeek.userserver.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * http 请求最外层对象
 * Created by Administrator on 2017/7/11.
 */
@Data
public class ResultVO<T> implements Serializable {

    private static final long serialVersionUID = 3068837394742385883L;
    /**错误码*/
    private Integer code;
    /**提示信息*/
    private String msg;
    /**具体内容*/
    private T data;

//    public static  ResultVO createVOByDate(T data){
//        ResultVO resultVO =new ResultVO();
//        resultVO.setCode(0);
//        resultVO.setData(data);
//        return resultVO;
//    }

}
